package com.pactera.miyuangroup.db.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 售货机货道
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
@TableName("t_vendor_passageway")
public class VendorPassageway extends Model<VendorPassageway> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	private String id;
    /**
     * 售货机ID
     */
	private String vendorId;
    /**
     * 货道
     */
	private Integer passagewayNumber;
    /**
     * 商品ID
     */
	private String goodsId;
    /**
     * 满载数（瓶）
     */
	private Integer maxNumber;
    /**
     * 已售数量
     */
	private Integer soldNumber;
    /**
     * 剩余数量
     */
	private Integer surplusNumber;
    /**
     * 原始ID
     */
	private String originalId;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getVendorId() {
		return vendorId;
	}

	public void setVendorId(String vendorId) {
		this.vendorId = vendorId;
	}

	public Integer getPassagewayNumber() {
		return passagewayNumber;
	}

	public void setPassagewayNumber(Integer passagewayNumber) {
		this.passagewayNumber = passagewayNumber;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getMaxNumber() {
		return maxNumber;
	}

	public void setMaxNumber(Integer maxNumber) {
		this.maxNumber = maxNumber;
	}

	public Integer getSoldNumber() {
		return soldNumber;
	}

	public void setSoldNumber(Integer soldNumber) {
		this.soldNumber = soldNumber;
	}

	public Integer getSurplusNumber() {
		return surplusNumber;
	}

	public void setSurplusNumber(Integer surplusNumber) {
		this.surplusNumber = surplusNumber;
	}

	public String getOriginalId() {
		return originalId;
	}

	public void setOriginalId(String originalId) {
		this.originalId = originalId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "VendorPassageway{" +
			"id=" + id +
			", vendorId=" + vendorId +
			", passagewayNumber=" + passagewayNumber +
			", goodsId=" + goodsId +
			", maxNumber=" + maxNumber +
			", soldNumber=" + soldNumber +
			", surplusNumber=" + surplusNumber +
			", originalId=" + originalId +
			"}";
	}
}
